<script>
	<#if err?exists && err != "">
		alert("err: ${err}");
	<#else>
		alert("重命名成功！");
	</#if>
	window.location.href = "${fromUrl}";
</script>